package game.view.scene
{
	import as3isolib.display.IsoSprite;
	
	import flash.display.MovieClip;
	import flash.geom.Point;
	
	import game.view.scene.IHuman;

	public class Human implements IHuman
	{
		protected var _mc:MovieClip;
		protected var _nowState:int;
		public function Human()
		{
		}
		
		public function move(startPt:Point,endPt:Point):void
		{
		
		}
		
		protected function checkDir():void
		{
			
		}
		
		public function changeState(sprite:IsoSprite, frame:int):void
		{
			_mc=sprite.sprites[0] as MovieClip;
			_mc.gotoAndStop(frame);
		}
		
		public function get nowState():int
		{
			return _nowState;
		}
		
		public function set nowState(state:int):void
		{
			_nowState = state;
		}
		
		public function dispose():void
		{
			_mc=null;
		}
	}
}